<template>
  <div class="type-b-w">
    <div class="line-w" v-for="(line, index) in item.list" :key="index">
      <div class="title">
        {{ line.name }}
      </div>
      <div class="msg skew-box">
        {{ line.msg }}
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "TypeB",
  props: ['item'],
}
</script>

<style lang="scss" scoped>
@import "src/assets/common";

.type-b-w {
  display: flex;
  justify-content: flex-start;
  position: relative;
  margin: 5px 0;


  .line-w {
    display: flex;
    justify-content: flex-end;

    height: 20px;

    .skew-box {
      padding: 0 10px;
      font-size: 10px;
      justify-content: center;
      align-items: center;
      display: flex;
    }

    .msg {
      background: white;
      color: $c2;
    }

    .title {
      display: flex;
      align-items: center;
      padding: 0 20px;
      font-size: 10px;
      background: $c2;
      color: white;
    }
  }
}


</style>